import request from '@/utils/request'

// 根据url生成option数据
export function getUrlOptions(url, data = {}) {
  return request({
    url,
    method: 'post',
    data
  })
}